package com.woniuxy.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: 马宇航
 * @Todo: TODO
 * @DateTime: 25/08/28/星期四 11:52
 * @Component: 成都蜗牛学苑
 **/
public class SessionMessages implements Serializable {
    private static final long serialVersionUID = 1L;

    private String sessionId;
    private String userId;
    //一次会话里面会包含多个不同的messages
    private List<CustomizationMessage> messages;

    public SessionMessages() {
    }

    public SessionMessages(String sessionId, String userId) {
        this.sessionId = sessionId;
        this.userId = userId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<CustomizationMessage> getMessages() {
        return messages;
    }

    public void setMessages(List<CustomizationMessage> messages) {
        this.messages = messages;
    }

    @Override
    public String toString() {
        return "SessionMessages{" +
                "sessionId='" + sessionId + '\'' +
                ", userId='" + userId + '\'' +
                ", messages=" + messages +
                '}';
    }
}
